home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #14 / Monster Media No. 14 (April 1996) (Monster Media, Inc.).ISO / prog_d / adsavfrm.zip / SAVEFRM.HIS < prev    next >
Text File  |  1996-01-09  |  2KB  |  35 lines

  1.                         TAdrockFormPosition History File.
  2.                         =================================
  3.  
  4. 21-Sep-95 V1.00    - Released to Compuserve, included Help File, KWF File for
  5.                   Delphi, SAVEFRM.DCU, SAVEFRM.DCR
  6.  
  7.  2-Oct-95 V1.10 - Now saves the maximized state of the form. Previously would
  8.                   not restore a maximized form.
  9.                 
  10.                   Correct a bug if the form was saved partilly off screen. Will
  11.                   now restore the form even if partially off screen.
  12.                 
  13. 27-Nov-95 V1.20 - Corrected a bug where the section name was ignored and the form's caption
  14.               was used to produce the name of the section in the .INI file.
  15.         
  16.  9-Jan-96 V1.30 - Some people wanted the ability to set the INI filename as runtime so that
  17.           they could use the installed path of the program to store the INI file.
  18.  
  19.           You now can set the name of the INI file and SectionName at runtime and 
  20.           then call ReadIniFileSettings to retreive the ini file settings.
  21.  
  22.           { To load the settings and restore the size /position of the form at run time }    
  23.           AdrockFormPosition1.IniFile := 'c:\tmp1.Ini';
  24.             AdrockFormPosition1.SectionName := 'Christopher';
  25.             AdrockFormPosition1.ReadIniFileSettings;
  26.  
  27.           You can also now save the INI file settings at any time as long as the INI filename
  28.           and the Section name is filled in.
  29.  
  30.           { To Save the size and position of the form at run time }
  31.           AdrockFormPosition1.IniFile := 'c:\tmp1.Ini';
  32.             AdrockFormPosition1.SectionName := 'Christopher';
  33.             AdrockFormPosition1.WriteIniFileSettings;
  34.  
  35.